﻿@model IEnumerable<verk2013_project_group12.Models.Game>

<div class="ImageLinks">
    <table id="pictureTable" class="linkImage">
         <thead>
            <tr>
                @foreach (var game in Model)
                {
                  <th>@game.Name</th>  
                }
            </tr>
         </thead>
         <tbody>
           <tr>
                @foreach (var game in Model)
                {
                  <td class="ImageClick">
         <a href="@Url.Action("Lobby", "Games", new { id= game.ID })"><img src="@game.Image", alt="Game-Filter" /></a>"
                    </td>
                }
            </tr>
         </tbody>
    </table>
</div>